home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / devel / tcl / itcl1_31.z / itcl1_31 / tcldev / itcl-1.3 / Makefile < prev    next >
Encoding:
Makefile  |  1993-11-13  |  2.0 KB  |  71 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # ---------------------------------------------------------------------------
  3. #           [incr Tcl] - Object-oriented programming in Tcl
  4. # ---------------------------------------------------------------------------
  5. # This file is a Makefile for [incr Tcl].  If it has the name "Makefile.in"
  6. # then it is a template for a Makefile; to generate the actual Makefile,
  7. # run "./configure", which is a configuration script generated by the
  8. # "autoconf" program (constructs like "@foo@" will get replaced in the
  9. # actual Makefile.
  10. # ---------------------------------------------------------------------------
  11. ROOTNAME = itcl
  12. VERSION  = 1.3
  13. PACKAGE  = $(ROOTNAME)-$(VERSION)
  14.  
  15. SUBDIRS  = src man
  16.  
  17. all:
  18.     @set -x; for i in $(SUBDIRS); do \
  19.         (cd $$i; $(MAKE) -$(MAKEFLAGS) VERSION=$(VERSION) $@); \
  20.         done
  21.     @echo "== MAKE COMPLETE =="
  22.  
  23. install:
  24.     @set -x; for i in $(SUBDIRS); do \
  25.         (cd $$i; $(MAKE) -$(MAKEFLAGS) VERSION=$(VERSION) $@); \
  26.         done
  27.     @echo "== INSTALL COMPLETE =="
  28.  
  29. clean:
  30.     rm -f $(PACKAGE).tar $(PACKAGE).tar.Z $(PACKAGE).uu
  31.     @set -x; for i in $(SUBDIRS); do \
  32.         (cd $$i; $(MAKE) -$(MAKEFLAGS) VERSION=$(VERSION) $@); \
  33.         done
  34.  
  35. distclean:
  36.     rm -f Makefile config.status
  37.     rm -f $(PACKAGE).tar $(PACKAGE).tar.Z $(PACKAGE).uu
  38.     @set -x; for i in $(SUBDIRS); do \
  39.         (cd $$i; $(MAKE) -$(MAKEFLAGS) VERSION=$(VERSION) $@); \
  40.         done
  41.  
  42. tar: warnings configure excludelist distclean Intro.ps
  43.     rm -f $(PACKAGE).tar $(PACKAGE).tar.Z
  44.     cd ..; tar cvfX /tmp/$(PACKAGE).tar $(PACKAGE)/EXCLUDE.tmp $(PACKAGE)
  45.     mv /tmp/$(PACKAGE).tar .
  46.  
  47. uu: tar
  48.     rm -f $(PACKAGE).uu
  49.     compress $(PACKAGE).tar
  50.     uuencode $(PACKAGE).tar.Z $(PACKAGE).tar.Z > $(PACKAGE).uu
  51.  
  52. Intro.ps: Intro
  53.     @echo '== Make PostScript for Intro =='
  54.     exit 1
  55.  
  56. configure: configure.in
  57.     autoconf
  58.  
  59. excludelist:
  60.     @echo "Making exclude list for Version $(VERSION)..."
  61.     @rm -f EXCLUDE.tmp
  62.     @cat EXCLUDE.FROM.TAR \
  63.         | sed -e"s/%version%/$(VERSION)/g" \
  64.         > EXCLUDE.tmp
  65.  
  66. warnings:
  67.     @echo '>>'
  68.     @echo '>> NOTE:'
  69.     @echo '>> Did you reset Makefile flags to "-O"?'
  70.     @echo '>>'
  71.